package weapon

import (
	"ys.calc/role"
)

type Weapon struct {
	Name         string
	Code         int
	Atk          float64
	SubState     float64
	SubStateFunc func(r *role.Role)
	SpFunc       func(r *role.Role)
}

func GenerateGanyuWeaponArray() []Weapon {
	var weaponArray = []Weapon{InitAmos(1, 5), InitBrumalStar(1, 4)}
	return weaponArray
}
func GenerateXianglingWeaponArray() []Weapon {
	//fin1 := InitWavebreakersFin(1, 80+60+60+60)
	//fin3 := InitWavebreakersFin(3, 80+60+60+60)
	fin5 := InitWavebreakersFin(5, 80+60+60+60)
	harpoon := InitHarpoon(5, 0)
	deathMatch3 := InitDeathMatch(3, 1)
	deathMatch5 := InitDeathMatch(5, 1)
	var weaponArray = []Weapon{deathMatch3, deathMatch5, fin5, harpoon}
	return weaponArray
}
